public class TestPet {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.setHealth(-1000);
        dog.love=3;
        dog.name="多多";
        dog.strain="吉娃娃";
        dog.print();

        System.out.println(dog.getHealth());



    }
}
